package com.fast.develop.dm.plugin.table.exporter;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;


/**
 * @author 莫寅
 * @createTime 2022-06-09 17:49
 * @desc：
 */
@Configuration
@Import(PluginTableExporterRegister.class)
public class PluginTableExporterConfiguration {

    @Autowired
    PluginTableExporterRegister pluginTableExporterRegister;

    @Bean
    public PluginTableExporter tableExporter(){
        return pluginTableExporterRegister.getContextStartedListener().getTableExporter();
    }

}
